{% set setting = {title:'员工管理',beforeLink:['/css/plugins/chosen/chosen.css']} %} {% include "../_partial/head.html" with setting %}
<link href="{{basePath}}/css/plugins/dataTables/dataTables.bootstrap.css" rel="stylesheet">
<link href="{{basePath}}/css/plugins/iCheck/custom.css" rel="stylesheet">
<link href="{{basePath}}/css/plugins/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css" rel="stylesheet">
<style>
    .dataTables-example .btn{
        margin: 0;
        padding: 2px 0;
        font-size: 13px;
    }
    .dataTables-example .btn-primary{
        left:50%;
        -webkit-transform: translate(-50%,0);
        -moz-transform: translate(-50%,0);
        -ms-transform: translate(-50%,0);
        -o-transform: translate(-50%,0);
        transform: translate(-50%,0);
    }
</style>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInRight">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>查询条件</h5>
                </div>
                <div class="ibox-content">
                    {% set params = {
                    selector:'employeeSearch',
                    list:[
                    {
                    name:'departId',
                    type:'select',
                    title:'部门',
                    class:'department',
                    placeholder:'全部'
                    },{
                    name:'userName',
                    type:'text',
                    title:'员工姓名',
                    class:'employeeName',
                    placeholder:'员工姓名'
                    },{
                    name:'mobile',
                    type:'text',
                    title:'手机号码',
                    class:'employeeMobile',
                    placeholder:'手机号码'
                    }]
                    } %}
                    {% include "../modal/dataTable-search-form.html" with params %}
                </div>
            </div>
        </div>
    </div>
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>员工列表</h5>
                </div>
                <div class="ibox-content">
                    <div class="row">
                        <div class="col-sm-12">
                            <button class="btn btn-success insertEmployeeButton" type="button">
                                <i class="fa fa-plus"></i>&nbsp;&nbsp;<span class="bold">添加员工</span>
                            </button>
                        </div>
                    </div>
                    <table class="table table-striped table-bordered table-hover dataTables-example"></table>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
{% include "../_partial/foot.html" %}
<script src="{{basePath}}/plugins/dataTables/jquery.dataTables.js"></script>
<script src="{{basePath}}/plugins/dataTables/dataTables.bootstrap.js"></script>
<script src="{{basePath}}/plugins/dataTables/dataTables.setting.js"></script>
<!-- 单选、多选插件 -->
<script src="{{basePath}}/plugins/iCheck/icheck.min.js"></script>
<!-- select 插件 -->
<script src="{{basePath}}/plugins/chosen/chosen.jquery.js"></script>

<script src="{{basePath}}/js/basicInfo/employeeList.js"></script>